<!--thymeleaf 前置和命名空间-->
<html lang="zh" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>查看员工详情</h1>

    <ul>
        <li>姓名：<span th:text="${result.data.name}"></span></li>
        <li>部门：<span th:text="${result.data.dept.name}"></span></li>
    </ul>

</body>
</html>